﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ImperialServer.Common.Entities
{
    public class UserStatus
    {
        private StatusEntity _status;
        private DateTime _initialDate;
        private DateTime? _finalDate;

        public UserStatus()
        {
            _status = new StatusEntity();
            _initialDate = DateTime.Today;
            _finalDate = null;
        }

        public UserStatus(int id)
        {
            _status = new StatusEntity(id);
            _initialDate = DateTime.Today;
            _finalDate = null;
        }

        public StatusEntity Status
        {
            get { return _status; }
            set { _status = value; }
        }
        public DateTime InitialDate
        {
            get { return _initialDate; }
            set { _initialDate = value; }
        }
        public DateTime? FinalDate
        {
            get { return _finalDate; }
            set { _finalDate = value; }
        }
    }
}
